gdk: actually fix the previous commit
authorIgnacio Casal Quinteiro <icq@gnome.org>
Wed, 29 Jun 2016 13:10:39 +0000 (15:10 +0200)
committerIgnacio Casal Quinteiro <icq@gnome.org>
Wed, 29 Jun 2016 13:10:39 +0000 (15:10 +0200)
We do not want it on windows

gdk/gdk.c

index f2113e10a81d2982123e03fbaeeb9e812d32511b..22d7841815a6a7430073001691b11b2de1fdf293 100644 (file)
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -233,7 +233,7 @@ static const GOptionEntry gdk_args[] = {
   { "name",         0, 0,                     G_OPTION_ARG_CALLBACK, gdk_arg_name_cb,
     /* Description of --name=NAME in --help output */          N_("Program name as used by the window manager"),
     /* Placeholder in --name=NAME in --help output */          N_("NAME") },
-#ifdef G_OS_WIN32
+#ifndef G_OS_WIN32
   { "display",      0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_STRING,   &_gdk_display_name,
     /* Description of --display=DISPLAY in --help output */    N_("X display to use"),
     /* Placeholder in --display=DISPLAY in --help output */    N_("DISPLAY") },